import { IsNotEmpty } from 'class-validator'
import { JsonValue } from '@prisma/client/runtime/library'

export class CreateCalculateTowerDto {
  towerId: number

  @IsNotEmpty({ message: '轴向张力不能为空' })
  TAs: JsonValue

  @IsNotEmpty({ message: '区段名称不能为空' })
  orderId: number
}
